export interface ColumnProps{
  id:number;
  title:string;
  avatar?:string;
  description:string;
}

export interface PostProps{  // 接口名必须是大写的
  id:number;
  title:string;
  content:string;
  image?:string;
  createAt:string;
  columnid:number;
}

export const testData:ColumnProps[] = [
  {
    id:1,
    title:'test1的专栏',
    avatar:'',
    description:'这是test1的专栏，是一个非常有意思的简介，可以欣赏一下'
  },
  {
    id:2,
    title:'test2的专栏',
    avatar:'http://39.96.42.170/small.png',
    description:'这是test2的专栏，是一个非常有意思的简介，可以欣赏一下'
  },
  {
    id:3,
    title:'test3的专栏',
    avatar:'http://39.96.42.170/small.png',
    description:'这是test3的专栏，是一个非常有意思的简介，可以欣赏一下'
  },
  {
    id:4,
    title:'test4的专栏',
    avatar:'http://39.96.42.170/small.png',
    description:'这是test4的专栏，是一个非常有意思的简介，可以欣赏一下'
  },
  {
    id:5,
    title:'test5的专栏',
    avatar:'http://39.96.42.170/small.png',
    description:'这是test5的专栏，是一个非常有意思的简介，可以欣赏一下'
  },
  {
    id:6,
    title:'test6的专栏',
    avatar:'http://39.96.42.170/small.png',
    description:'这是test6的专栏，是一个非常有意思的简介，可以欣赏一下'
  }
]

export const testPosts:PostProps[] = [
  {
    id:1,
    title:'这是我的第一篇文章',
    content:'Lorem ipsum dolor, sit amet consectetur adipisicing elit. Totam sed corrupti ad nobis ea corporis tempora, at quas nisi, quam labore temporibus ipsam quis? Cum natus esse ea eius harum!',
    image:'http://39.96.42.170/small.png',
    createAt:'2020-12-24',
    columnid:1
  },
  {
    id:1,
    title:'这是我的第一篇文章',
    content:'Lorem ipsum dolor, sit amet consectetur adipisicing elit. Totam sed corrupti ad nobis ea corporis tempora, at quas nisi, quam labore temporibus ipsam quis? Cum natus esse ea eius harum!',
    image:'http://39.96.42.170/small.png',
    createAt:'2020-12-24',
    columnid:1
  },
  {
    id:1,
    title:'这是我的第一篇文章',
    content:'Lorem ipsum dolor, sit amet consectetur adipisicing elit. Totam sed corrupti ad nobis ea corporis tempora, at quas nisi, quam labore temporibus ipsam quis? Cum natus esse ea eius harum!',
    image:'http://39.96.42.170/small.png',
    createAt:'2020-12-24',
    columnid:2
  },
  {
    id:1,
    title:'这是我的第一篇文章',
    content:'Lorem ipsum dolor, sit amet consectetur adipisicing elit. Totam sed corrupti ad nobis ea corporis tempora, at quas nisi, quam labore temporibus ipsam quis? Cum natus esse ea eius harum!',
    image:'http://39.96.42.170/small.png',
    createAt:'2020-12-24',
    columnid:2
  },
  {
    id:1,
    title:'这是我的第一篇文章',
    content:'Lorem ipsum dolor, sit amet consectetur adipisicing elit. Totam sed corrupti ad nobis ea corporis tempora, at quas nisi, quam labore temporibus ipsam quis? Cum natus esse ea eius harum!',
    image:'http://39.96.42.170/small.png',
    createAt:'2020-12-24',
    columnid:3
  }
]